package cn.wolfcode.wms.service;

import cn.wolfcode.wms.domain.Product;
import cn.wolfcode.wms.page.PageResult;
import cn.wolfcode.wms.qo.ProductQueryObject;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface ProductService {

    void deleteById(Long id);
    void updateOrSave(Product product, MultipartFile img);
    Product getById(Long id);
    List<Product> selectAll();
    PageResult query(ProductQueryObject qo);

    void deleteAll(Long[] ids);
}
